package com.ddlaw.mapper;

import java.util.List;
import java.util.Map;

import com.ddlaw.entity.TLawyer;
import com.ddlaw.entity.TLawyerDetailCustom;
import com.ddlaw.entity.TStudentDetaiCustom;

/***
 * 律师数据层接口
 * @author YunLong
 *
 */
public interface TLawyersDetailMapper {
		/**根据服务类型,年限,地区,是否推荐获取可咨询律师*/
		public List<TLawyerDetailCustom> getAllLawyers(Map params);
		/**获取服务类型,年限,地区,是否推荐可咨询律师(学生等法律专业人士)*/
		public List<TStudentDetaiCustom> getAllOtherLawyers(Map params);
		/**根据ID查找律师(包括其他人士)*/
		public List<TLawyer> getLawyer(Map params);
		/**获取推荐律师*/
		public List<TLawyerDetailCustom> getLawyerByState(int state);
		/**根据用户ID查找律师*/
		public TLawyer getLawyerByUserId(int userId);
		
}